home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xext / XPanoramiXQueryVersion.z / XPanoramiXQueryVersion
Encoding:
Text File  |  2002-10-03  |  6.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn((((3333XXXX11111111))))    XXXX11111111RRRR6666    XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn - return the version numbers of the
  10.           Xinerama extension
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           #include <X11/extensions/Xinerama.h>
  14.  
  15.           Status XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn(
  16.             Display *_d_p_y,
  17.             int     *_m_a_j_o_r__v_e_r_s_i_o_n,
  18.             int     *_m_i_n_o_r__v_e_r_s_i_o_n
  19.           );
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _d_p_y  Specifies the connection to the X server.
  23.  
  24.           _m_a_j_o_r
  25.                Returns major version number of the Xinerama extension
  26.                supported by the X server.
  27.  
  28.           _m_i_n_o_r
  29.                Returns minor version number of the Xinerama extension
  30.                supported by the X server.
  31.  
  32.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.           XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn returns the major and minor version
  34.           number of the Xinerama extension implemented by the server
  35.           associated with connection _d_p_y.
  36.  
  37.           XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn returns TTTTrrrruuuueeee if the version of the
  38.           Xinerama library and Xinerama server are compatible, FFFFaaaallllsssseeee
  39.           otherwise.  _m_a_j_o_r__v_e_r_s_i_o_n and _m_i_n_o_r__v_e_r_s_i_o_n are not updated
  40.           when FFFFaaaallllsssseeee is returned.
  41.  
  42.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  43.           _B_a_d_I_m_p_l_e_m_e_n_t_a_t_i_o_n
  44.                The X client library uses an older version of the
  45.                Xinerama protocol that is not supported by the X
  46.                server.
  47.  
  48.      BBBBUUUUGGGGSSSS
  49.           In order to conform to Xorg's proposal of a Xinerama
  50.           standard, there is a protocol incompatibility between the
  51.           Xinerama versions 1.0 (IRIX 6.5.10) and 1.1 (IRIX 6.5.11)
  52.           and the Xinerama versions 1.2 and later (IRIX 6.5.12 and
  53.           later).  XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn traps this protocol
  54.           incompatibility in version 1.2 and later.
  55.  
  56.           The following message is printed to STDOUT:
  57.             """"XXXXiiiinnnneeeerrrraaaammmmaaaa sssseeeerrrrvvvveeeerrrr vvvveeeerrrrssssiiiioooonnnn XXXX....xxxx uuuusssseeeessss nnnnoooonnnn----ssssttttaaaannnnddddaaaarrrrdddd pppprrrroooottttooooccccoooollll""""
  58.           if the protocols used by the X client library and X server
  59.           are not compatible (i.e. the Xinerama library is version 1.2
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn((((3333XXXX11111111))))    XXXX11111111RRRR6666    XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           or later and the Xinerama server is version 1.0 or 1.1).
  75.           XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn will accompany this error with a return
  76.           value of FFFFaaaallllsssseeee.
  77.  
  78.           The following message is written to the SYSLOG of the X
  79.           server machine:
  80.             """"XXXXiiiinnnneeeerrrraaaammmmaaaa cccclllliiiieeeennnntttt lllliiiibbbbrrrraaaarrrryyyy vvvveeeerrrrssssiiiioooonnnn YYYY....yyyy uuuusssseeeessss nnnnoooonnnn----ssssttttaaaannnnddddaaaarrrrdddd
  81.             pppprrrroooottttooooccccoooollll""""
  82.           if the protocols used by the X client library and X server
  83.           are not compatible (i.e. the Xinerama server is version 1.2
  84.           or later and the Xinerama library is version 1.0 or 1.1).
  85.           The X server will throw a BBBBaaaaddddIIIImmmmpppplllleeeemmmmeeeennnnttttaaaattttiiiioooonnnn error, and
  86.           XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn will return FFFFaaaallllsssseeee.
  87.  
  88.           A workaround for this protocol incompatibility is to use a
  89.           client and server that both support the same Xinerama
  90.           version.
  91.  
  92.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.           XXXXiiiinnnneeeerrrraaaammmmaaaa(3X11), XXXXiiiinnnneeeerrrraaaammmmaaaaQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn(3X11).
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.